package cn.tj212.inmall.service;

import cn.tj212.inmall.common.ServerResponse;
import cn.tj212.inmall.pojo.Shipping;
import com.github.pagehelper.PageInfo;

public interface IShippingService {
    ServerResponse add(Integer id, Shipping shipping);

    ServerResponse<String> del(Integer id, Integer shippingId);

    ServerResponse update(Integer id, Shipping shipping);

    ServerResponse<Shipping> select(Integer id, Integer shippingId);

    ServerResponse<PageInfo> list(Integer id, int pageNum, int pageSize);
}
